<template>
  <div class="hello">
    <input type="text" v-model.lazy.trim="username">
    <input type="text" v-model="password">
    <button @click="clickHandle">按钮</button>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data() {
    return {
      username: '',
      password: '',
    }
  },
  methods:{
    clickHandle() {
      console.log(this.username, this.password);
    }
  }
}
</script>

